import request from '@/utils/request_ry.js'

// 查询救援档案基础列表
export function listJyBase(query) {
  return request({
    url: '/jy/jyBase/list',
    method: 'get',
	// loading: true,
    params: query
  })
}

// 查询救援档案基础详细
export function getJyBase(id) {
  return request({
    url: '/jy/jyBase/' + id,
	loading: true,
    method: 'get'
  })
}

// 新增救援档案基础
export function addJyBase(data) {
  return request({
    url: '/jy/jyBase',
    method: 'post',
    data: data,
	loading: true
  })
}

// 修改救援档案基础
export function updateJyBase(data) {
  return request({
    url: '/jy/jyBase',
    method: 'put',
    data: data,
	loading: true
  })
}

// 删除救援档案基础
export function delJyBase(id) {
  return request({
    url: '/jy/jyBase/' + id,
    method: 'delete'
  })
}
